<#if formField.hidden?? && formField.hidden=="1">
<input type=hidden name="fieldMap['${field.name}'].id"  <#if businessInstanceField?? && businessInstanceField.id??>value="${businessInstanceField.id}"</#if>>
<input type=hidden name="fieldMap['${field.name}'].field.id"  value="${formField.field.id}">
<input type=hidden id=${field.name} name="fieldMap['${field.name}'].value" <#if businessInstanceField??>value="${businessInstanceField.value?default('')}" </#if>></input>
<#else>

<#if formField.readonly?? && formField.readonly=="1">
<#if businessInstanceField?? && businessInstanceField.value??>${businessInstanceField.value}</#if>
<#else>
<input type=hidden name="fieldMap['${field.name}'].id"  <#if businessInstanceField?? && businessInstanceField.id??>value="${businessInstanceField.id}"</#if>>
<input type=hidden name="fieldMap['${field.name}'].field.id"  value="${formField.field.id}">
<input type="hidden" id="${field.name}" name="fieldMap['${field.name}'].value"  <#if businessInstanceField?? && businessInstanceField.entityId??>value="${businessInstanceField.entityId}" </#if> > </input>
<span><#if businessInstanceField?? && businessInstanceField.value??>${businessInstanceField.value}</#if></span>
</#if>
</#if>